<template>
  <Modal v-model="jsonModal" :title="title" :mask-closable="true" width="800"> 
    <json-view :data="json"/>
    <div slot="footer">
      <Button type="default" size="large" @click="jsonModal = false">关闭</Button>
    </div>
  </Modal>
</template>

<script>
import jsonView from 'vue-json-views'
export default {
  name: 'JsonModal',
  components: {
    jsonView
  },
  data () {
    return {
      title: 'JSON详情',
      jsonModal: false,
      json: {}
    }
  },
  methods: {
    
  },
  mounted () {
  }
}
</script>

<style lang="less">
</style>
